package com.core.Design.factoryMethod;

/**
 * Created by admin on 2017/6/6.
 */
public abstract class  Calculator{
    public static void main(String[] args) {
        double t = 10d;
        double t1 = 2d;
        OperatorFactory operatorFactory =  OperatorFactory.instances(t,t1);
        Operator add = operatorFactory.resultBack("-");
    }
}
